﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EmailTreeNode.aspx.cs" Inherits="Main_EmailTreeNode" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
    #TreeNode
    {
        margin: 0; padding: 0;
        text-decoration:none;
    }
    
    #TreeNode a
    {
        padding-right:3px;
    }
   
    </style>
    <script language="javascript">
        function changeFrameRight(url) {
            window.parent.document.getElementById("rightFrame").src = url;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="TreeNode">
        <asp:TreeView ID="TreeView1" runat="server" 
            onselectednodechanged="TreeView1_SelectedNodeChanged" ShowLines="True">
        <NodeStyle ForeColor="Black" Font-Names="Arial" Font-Size="12px" />
            <Nodes>
                <asp:TreeNode Text="Mail Folders" Value="mailFolders">
                    <asp:TreeNode Text="In-Box" Value="inBox" 
                        ImageUrl="~/Main/images/foldericon.png"></asp:TreeNode>
                    <asp:TreeNode Text="Sent-Mail" Value="sentMail" 
                        ImageUrl="~/Main/images/foldericon.png"></asp:TreeNode>
                    <asp:TreeNode Text="Drafts" Value="drafts" 
                        ImageUrl="~/Main/images/foldericon.png"></asp:TreeNode>
                    <asp:TreeNode Text="Trash" Value="trash" 
                        ImageUrl="~/Main/images/foldericon.png"></asp:TreeNode>
                    <asp:TreeNode Text="Spam" Value="spam" ImageUrl="~/Main/images/foldericon.png"></asp:TreeNode>
                </asp:TreeNode>
            </Nodes>
        </asp:TreeView>
    </div>
    </form>
</body>
</html>
